package com.xing.radar.custom;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.view.freemarker.FreeMarkerView;

import freemarker.template.SimpleHash;

public class CustomerFreeMarkerView extends FreeMarkerView {
	@Override
	protected SimpleHash buildTemplateModel(Map<String, Object> model,
			HttpServletRequest request, HttpServletResponse response) {
		SimpleHash hash = super.buildTemplateModel(model, request, response);
		hash.setObjectWrapper(getObjectWrapper());
		return hash;
	}

}
